<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function(options) {
			console.log('App Show',options.query)
			if(options.query.scene){
				var sceneParams = decodeURIComponent(options.query.scene);
				sceneParams = sceneParams.split('&');
				if (sceneParams.length) {
					sceneParams.forEach(item => {
						uni.setStorageSync(item.split('=')[0], item.split('=')[1]);
					});
				}
			}
		},
		onHide: function() {
			console.log('App Hide')
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	@import "uview-ui/index.scss";
	/*每个页面公共css */
</style>
